home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ OEM Info CPU.xpl
< prev
next >
Wrap
Text File
|
2001-02-02
|
1KB
|
55 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="1"
"COUNT"="2"
"UIPATH 1"="Hardware\CPU"
"NAME"="CPU 1 Information"
"VERSION"="1.30"
"LANGUAGE"="VBScript"
"TEXT 1"="Type Text"
"TEXT 2"="Vendor Text"
"DESCRIPTION 1"="To see these values, select "Start" | "Settings" | "Control Panel" and click "System"."
"DESCRIPTION 2"="Or, press WINDOWS KEY+PAUSE."
"DESCRIPTION 3"="NOTE: On some systems this information might be automatically replaced by Windows on every startup."
"AUTHOR"="Xteq Systems (TeX HeX + CptSiskoX)"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
sP1="HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0\"
sV1="Identifier"
sV2="VendorIdentifier"
'Called when the Plugin is started
Sub Plugin_Initialize
if RegPathExists(sP1) then
s=RegReadValue(sP1 & sV1)
SetUIElement 1,s
s=RegReadValue(sP1 & sV2)
SetUIElement 2,s
else
Disable
end if
End Sub
'Called when the Plugin should validate the Data the user has entered
Sub Plugin_CheckData(ElementIndex)
End Sub
'Called when the Plugin should apply the changes
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(sP1 & sV1,s,1)
s=GetUIElement(2)
Call RegWriteValue(sP1 & sV2,s,1)
Call Restart()
End Sub
'Called when the Plugin is about to be removed from memory
Sub Plugin_Terminate
End Sub